package cn.nawang.ebeim.api.vo;

/**
 * @ClassName: DatasourceView
 * @Description: TODO
 * @author fanyb
 * @date Sep 9, 2015 2:43:56 PM
 * @version v1.0
 */
public class DatasourceView {
  private String id;
  private String customerId;
  private String terminalId;
  private String name;
  private String createUserId;
  private Long createTime;
  private String description;
  private Integer isOpenLocalBackup;
  private String dsType;
  private Integer dsSecurityRank;
  private Integer status;
  private String configId;
  private String lmUserId;
  private Long lmTime;
  private Long spaceUsage;
  private Long nextRun;
  private Integer count;
  private Integer currentVersionMajor;
  private Integer currentVersionMinor;
  private String scanType;
  private String isEncrypt;
  private String root;
  private String scanHideFile;
  private String verifyCompleteName;
  private String verifyCompleteMaxCount;
  private String verifyCompleteTimer;
  private String fileAttrGainer;
  private String recordCanNotReadFileInfo;
  private String recordEmptyDirectory;
  private String recordEmptyFile;
  private String filterFileSuffix;
  private String dbUsername;
  private String dbPassword;
  private String dbType;
  private String dbHost;
  private String dbPort;
  private String dbName;
  private String bindDeviceName;

  private String backupStrategyId;
  private String backupType;
  private Long backupTime;
  private Integer backupTimeStatus;
  private Integer backupCycle;
  private String backupPeriod;
  
  private Integer dsStatus;

  public DatasourceView(String isEncrypt,Integer dsSecurityRank, String id, String customerId, String terminalId,
      String name, String createUserId, Long createTime, String description,
      Integer isOpenLocalBackup, String dsType, Integer status, String configId, String lmUserId,
      Long lmTime, Long spaceUsage, Long nextRun, Integer count, Integer currentVersionMajor,
      Integer currentVersionMinor, String scanType, String root, String scanHideFile,
      String verifyCompleteName, String verifyCompleteMaxCount, String verifyCompleteTimer,
      String fileAttrGainer, String recordCanNotReadFileInfo, String recordEmptyDirectory,
      String recordEmptyFile, String filterFileSuffix, String dbUsername, String dbPassword,
      String dbType, String dbHost, String dbPort, String dbName, String backupStrategyId,
      String backupType, Long backupTime, Integer backupTimeStatus, Integer backupCycle,
      String backupPeriod, String bindDeviceName,Integer dsStatus) {
    super();
    this.isEncrypt = isEncrypt;
    this.dsSecurityRank = dsSecurityRank;
    this.backupStrategyId = backupStrategyId;
    this.backupType = backupType;
    this.backupTime = backupTime;
    this.backupTimeStatus = backupTimeStatus;
    this.backupCycle = backupCycle;
    this.backupPeriod = backupPeriod;

    this.id = id;
    this.customerId = customerId;
    this.terminalId = terminalId;
    this.name = name;
    this.createUserId = createUserId;
    this.createTime = createTime;
    this.description = description;
    this.isOpenLocalBackup = isOpenLocalBackup;
    this.dsType = dsType;
    this.status = status;
    this.configId = configId;
    this.lmUserId = lmUserId;
    this.lmTime = lmTime;
    this.spaceUsage = spaceUsage;
    this.nextRun = nextRun;
    this.count = count;
    this.currentVersionMajor = currentVersionMajor;
    this.currentVersionMinor = currentVersionMinor;
    this.scanType = scanType;
    this.root = root;
    this.scanHideFile = scanHideFile;
    this.verifyCompleteName = verifyCompleteName;
    this.verifyCompleteMaxCount = verifyCompleteMaxCount;
    this.verifyCompleteTimer = verifyCompleteTimer;
    this.fileAttrGainer = fileAttrGainer;
    this.recordCanNotReadFileInfo = recordCanNotReadFileInfo;
    this.recordEmptyDirectory = recordEmptyDirectory;
    this.recordEmptyFile = recordEmptyFile;
    this.filterFileSuffix = filterFileSuffix;
    this.dbUsername = dbUsername;
    this.dbPassword = dbPassword;
    this.dbType = dbType;
    this.dbHost = dbHost;
    this.dbPort = dbPort;
    this.dbName = dbName;
    this.bindDeviceName = bindDeviceName;
    this.dsStatus=dsStatus;
  }


  public String getIsEncrypt() {
    return isEncrypt;
  }

  public void setIsEncrypt(String isEncrypt) {
    this.isEncrypt = isEncrypt;
  }

  public Integer getDsSecurityRank() {
    return dsSecurityRank;
  }

  public void setDsSecurityRank(Integer dsSecurityRank) {
    this.dsSecurityRank = dsSecurityRank;
  }

  public Integer getIsOpenLocalBackup() {
    return isOpenLocalBackup;
  }

  public void setIsOpenLocalBackup(Integer isOpenLocalBackup) {
    this.isOpenLocalBackup = isOpenLocalBackup;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getCustomerId() {
    return customerId;
  }

  public void setCustomerId(String customerId) {
    this.customerId = customerId;
  }

  public String getTerminalId() {
    return terminalId;
  }

  public void setTerminalId(String terminalId) {
    this.terminalId = terminalId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getBackupStrategyId() {
    return backupStrategyId;
  }

  public void setBackupStrategyId(String backupStrategyId) {
    this.backupStrategyId = backupStrategyId;
  }

  public String getBackupType() {
    return backupType;
  }

  public void setBackupType(String backupType) {
    this.backupType = backupType;
  }

  public Long getBackupTime() {
    return backupTime;
  }

  public void setBackupTime(Long backupTime) {
    this.backupTime = backupTime;
  }

  public Integer getBackupTimeStatus() {
    return backupTimeStatus;
  }

  public void setBackupTimeStatus(Integer backupTimeStatus) {
    this.backupTimeStatus = backupTimeStatus;
  }

  public Integer getBackupCycle() {
    return backupCycle;
  }

  public void setBackupCycle(Integer backupCycle) {
    this.backupCycle = backupCycle;
  }

  public String getBackupPeriod() {
    return backupPeriod;
  }

  public void setBackupPeriod(String backupPeriod) {
    this.backupPeriod = backupPeriod;
  }

  public String getCreateUserId() {
    return createUserId;
  }

  public void setCreateUserId(String createUserId) {
    this.createUserId = createUserId;
  }

  public Long getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Long createTime) {
    this.createTime = createTime;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public String getDsType() {
    return dsType;
  }

  public void setDsType(String dsType) {
    this.dsType = dsType;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public String getConfigId() {
    return configId;
  }

  public void setConfigId(String configId) {
    this.configId = configId;
  }

  public String getLmUserId() {
    return lmUserId;
  }

  public void setLmUserId(String lmUserId) {
    this.lmUserId = lmUserId;
  }

  public Long getLmTime() {
    return lmTime;
  }

  public void setLmTime(Long lmTime) {
    this.lmTime = lmTime;
  }

  public Long getSpaceUsage() {
    return spaceUsage;
  }

  public void setSpaceUsage(Long spaceUsage) {
    this.spaceUsage = spaceUsage;
  }

  public Long getNextRun() {
    return nextRun;
  }

  public void setNextRun(Long nextRun) {
    this.nextRun = nextRun;
  }

  public Integer getCount() {
    return count;
  }

  public void setCount(Integer count) {
    this.count = count;
  }

  public Integer getCurrentVersionMajor() {
    return currentVersionMajor;
  }

  public void setCurrentVersionMajor(Integer currentVersionMajor) {
    this.currentVersionMajor = currentVersionMajor;
  }

  public Integer getCurrentVersionMinor() {
    return currentVersionMinor;
  }

  public void setCurrentVersionMinor(Integer currentVersionMinor) {
    this.currentVersionMinor = currentVersionMinor;
  }

  public String getScanType() {
    return scanType;
  }

  public void setScanType(String scanType) {
    this.scanType = scanType;
  }

  public String getRoot() {
    return root;
  }

  public void setRoot(String root) {
    this.root = root;
  }

  public String getScanHideFile() {
    return scanHideFile;
  }

  public void setScanHideFile(String scanHideFile) {
    this.scanHideFile = scanHideFile;
  }

  public String getVerifyCompleteName() {
    return verifyCompleteName;
  }

  public void setVerifyCompleteName(String verifyCompleteName) {
    this.verifyCompleteName = verifyCompleteName;
  }

  public String getVerifyCompleteMaxCount() {
    return verifyCompleteMaxCount;
  }

  public void setVerifyCompleteMaxCount(String verifyCompleteMaxCount) {
    this.verifyCompleteMaxCount = verifyCompleteMaxCount;
  }

  public String getVerifyCompleteTimer() {
    return verifyCompleteTimer;
  }

  public void setVerifyCompleteTimer(String verifyCompleteTimer) {
    this.verifyCompleteTimer = verifyCompleteTimer;
  }

  public String getFileAttrGainer() {
    return fileAttrGainer;
  }

  public void setFileAttrGainer(String fileAttrGainer) {
    this.fileAttrGainer = fileAttrGainer;
  }

  public String getRecordCanNotReadFileInfo() {
    return recordCanNotReadFileInfo;
  }

  public void setRecordCanNotReadFileInfo(String recordCanNotReadFileInfo) {
    this.recordCanNotReadFileInfo = recordCanNotReadFileInfo;
  }

  public String getRecordEmptyDirectory() {
    return recordEmptyDirectory;
  }

  public void setRecordEmptyDirectory(String recordEmptyDirectory) {
    this.recordEmptyDirectory = recordEmptyDirectory;
  }

  public String getRecordEmptyFile() {
    return recordEmptyFile;
  }

  public void setRecordEmptyFile(String recordEmptyFile) {
    this.recordEmptyFile = recordEmptyFile;
  }

  public String getFilterFileSuffix() {
    return filterFileSuffix;
  }

  public void setFilterFileSuffix(String filterFileSuffix) {
    this.filterFileSuffix = filterFileSuffix;
  }

  public String getDbUsername() {
    return dbUsername;
  }

  public void setDbUsername(String dbUsername) {
    this.dbUsername = dbUsername;
  }

  public String getDbPassword() {
    return dbPassword;
  }

  public void setDbPassword(String dbPassword) {
    this.dbPassword = dbPassword;
  }

  public String getDbType() {
    return dbType;
  }

  public void setDbType(String dbType) {
    this.dbType = dbType;
  }

  public String getDbHost() {
    return dbHost;
  }

  public void setDbHost(String dbHost) {
    this.dbHost = dbHost;
  }

  public String getDbPort() {
    return dbPort;
  }

  public void setDbPort(String dbPort) {
    this.dbPort = dbPort;
  }

  public String getDbName() {
    return dbName;
  }

  public void setDbName(String dbName) {
    this.dbName = dbName;
  }

  public String getBindDeviceName() {
    return bindDeviceName;
  }

  public void setBindDeviceName(String bindDeviceName) {
    this.bindDeviceName = bindDeviceName;
  }

  public Integer getDsStatus() {
    return dsStatus;
  }

  public void setDsStatus(Integer dsStatus) {
    this.dsStatus = dsStatus;
  }


  @Override
  public String toString() {
    return "DatasourceView [id=" + id + ", customerId=" + customerId + ", terminalId=" + terminalId
        + ", name=" + name + ", createUserId=" + createUserId + ", createTime=" + createTime
        + ", description=" + description + ", isOpenLocalBackup=" + isOpenLocalBackup + ", dsType="
        + dsType + ", dsSecurityRank=" + dsSecurityRank + ", status=" + status + ", configId="
        + configId + ", lmUserId=" + lmUserId + ", lmTime=" + lmTime + ", spaceUsage=" + spaceUsage
        + ", nextRun=" + nextRun + ", count=" + count + ", currentVersionMajor="
        + currentVersionMajor + ", currentVersionMinor=" + currentVersionMinor + ", scanType="
        + scanType + ", isEncrypt=" + isEncrypt + ", root=" + root + ", scanHideFile="
        + scanHideFile + ", verifyCompleteName=" + verifyCompleteName + ", verifyCompleteMaxCount="
        + verifyCompleteMaxCount + ", verifyCompleteTimer=" + verifyCompleteTimer
        + ", fileAttrGainer=" + fileAttrGainer + ", recordCanNotReadFileInfo="
        + recordCanNotReadFileInfo + ", recordEmptyDirectory=" + recordEmptyDirectory
        + ", recordEmptyFile=" + recordEmptyFile + ", filterFileSuffix=" + filterFileSuffix
        + ", dbUsername=" + dbUsername + ", dbPassword=" + dbPassword + ", dbType=" + dbType
        + ", dbHost=" + dbHost + ", dbPort=" + dbPort + ", dbName=" + dbName + ", bindDeviceName="
        + bindDeviceName + ", backupStrategyId=" + backupStrategyId + ", backupType=" + backupType
        + ", backupTime=" + backupTime + ", backupTimeStatus=" + backupTimeStatus + ", backupCycle="
        + backupCycle + ", backupPeriod=" + backupPeriod + ", dsStatus=" + dsStatus + "]";
  }
}
